package com.cqhfan.api.clients.interaction;

import com.cqhfan.api.clients.interaction.fallback.LikedRecordClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Set;

/**
 * @author 眭传洪
 * @create 2025-08-14 17:48
 */
@FeignClient(value = "interaction-service", contextId = "likedRecord", fallbackFactory = LikedRecordClientFallbackFactory.class)
public interface LikedRecordClient {

    @GetMapping("/likedRecord/listLikeStatus")
    Set<Long> listLikeStatus(@RequestParam("bizIds") Iterable<Long> bizIds);

}
